﻿﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@page import="java.util.regex.Pattern"%>
<%@page import="java.util.regex.Matcher"%>
<%@ include file="include/taglib.jsp"%>
<%@page import="java.net.*"%>
<%@page import="com.sinodata.bsm.center.user.UserUtil"%>
<%@page import="com.sinodata.bsm.center.purview.FunctionConstants"%>
<%@page import="com.sinodata.bsm.center.purview.UserFunctionValidate"%>
<%
String loginUrl = System.getProperty("login.url");
InetAddress addr =InetAddress.getLocalHost();
String ip = addr.getHostAddress()+":"+request.getLocalPort();
String uamurl ="http://"+ip+"/bsm/";
Pattern reges = Pattern.compile("(http.*)\\/\\S*");
Matcher matcher = reges.matcher(loginUrl);
String uamPath = matcher.find()?matcher.group(1)+"/uam":"";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>中科金财IT综合监控系统</title>
        <%@ include file="include/common.jsp"%>
        <%@ include file="include/jbox.jsp"%>
        <style type="text/css">
           	html{overflow: hidden;}
       </style>
        <link href="${pageContext.request.contextPath}/style/default/bsm/header.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/iframe.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/index.js"></script>
		<script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);</script><!-- IE6背景图片闪烁问题  -->
	   <script language="JavaScript" type="text/JavaScript">   
	   </script> 
    </head>
    <body>
   		<div id="header">
   		<!--  		
   		<div class="other"><a href="#">综合监控</a><a href="#">服务流程</a><a href="#">配置管理</a></div>
   		 -->  
   		<div class="logo">
   			<a herf="#"></a>
   		</div>	
		<div class="banner">
			<div class="tabbar">
  				<div class="tabs" id= "firstMenuDiv">
				    <a href="${pageContext.request.contextPath}/resource/res-frame.action"   target="content">资源管理</a> 
					<a href="${pageContext.request.contextPath}/resource/res-strategy.action"  target="content">策略管理</a>
					<a href="${pageContext.request.contextPath}/config/config!common.action" target="content">系统维护</a> 
  				
				   <a href="${pageContext.request.contextPath}/simple/simple!indicator.action" class="actived" target="content">性能展示</a> 
				   <a href="${pageContext.request.contextPath}/simple/simple!resource.action" target="content">设备管理</a> 
				</div>
			</div>
		</div>
		<div class="bar" ></div>
	</div>
     	<iframe id="content" name="content" src="${pageContext.request.contextPath}/jsp/main.jsp"  frameborder="0" width="100%" height="10px;"></iframe>
  </body>     
</html>